package com.vctgo.evidence.mapper;

import java.util.ArrayList;
import java.util.List;

import com.vctgo.evidence.domain.TbEvi;
import com.vctgo.evidence.domain.TbEvidence;
import com.vctgo.common.mybatisplus.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Param;
/**
 * 凭证列表Mapper接口
 *
 * @author vctgo
 * @date 2024-12-15
 */
public interface TbEvidenceMapper extends BaseMapperX<TbEvidence>
{

    /**
     * 查询凭证列表列表
     *
     * @param tbEvidence 凭证列表
     * @return 凭证列表集合
     */
    List<TbEvidence> selectTbEvidenceList(@Param("query") TbEvidence tbEvidence);

    /**
     * 批量删除凭证列表
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteTbEvidenceByIds(Long[] ids);

    int batchTbEvi(List<TbEvi> tbEvis);

    int deleteTbEviByEvidenceId(Long id);

    int deleteEviByEvidenceIds(Long[] ids);

    int deleteEviByEvidenceId(Long id);

    int insertEvidence(TbEvidence tbEvidence);

    TbEvidence selectEvidenceById(Long id);
}
